package com.code.god.mysql.util;

import com.zaxxer.hikari.HikariDataSource;
import lombok.Data;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.jdbc.datasource.embedded.DataSourceFactory;

import javax.sql.DataSource;

/**
 * 连接对象
 */
@Data
public class ConnectionObject {
    private String connectionName;
    private HikariDataSource dataSource;
    private String host;
    private String port;
    private String username;
    private String password;

}
